package com.business.bean.basic;

import lombok.Getter;
import lombok.Setter;
import net.sf.rose.jdbc.bean.ModelBean;
import net.sf.rose.jdbc.bean.annotation.Column;
import net.sf.rose.jdbc.bean.annotation.Table;
import net.sf.rose.jdbc.bean.annotation.Type;

/**
 * @author fengjian E-mail: 9110530@qq.com
 * @version 创建时间：2019年9月27日
 */
@Setter
@Getter
@Table(name = "BAS_DORMITORY", description = "宿舍信息表")
public class DormitoryBean extends ModelBean {

    @Column(pk = true, type = Type.定长文本, description = "宿舍编号", canNull = false, size = 32, policy = "UUID")
	private String dormitoryID = null;

	@Column(type = Type.变长文本, description = "宿舍编号", size = 30)
	private String dormitoryNo = null;

	@Column(type = Type.变长文本, description = "宿舍名称", size = 50)
	private String dormitoryName = null;

	@Column(type = Type.变长文本, description = "宿舍类型", size = 30)
	private String dormitoryType = null;

    @Column(type = Type.变长文本, description = "宿舍说明", size = 250)
    private String description = null;

	/** 有效：1；结束：2 */
	@Column(type = Type.数字整型, description = "状态")
	private int status = 0;
}